gdbstub: Bit-field boolean must be unsigned.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 4 Jun 2007 13:25:03 +0000 (14:25 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 4 Jun 2007 13:25:03 +0000 (14:25 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/include/xen/gdbstub.h

index cf6e7e547cee39a237702ca7d122ad875998c118..46e4815e44da1bfe6b3a18b14fd4a688fb17db58 100644 (file)
@@ -35,7 +35,7 @@ unsigned long str2ulong(const char *str, unsigned long bytes);
 struct gdb_context {
     int                 serhnd;           /* handle on our serial line */
     int                 console_steal_id; /* handle on stolen console */
-    int                 currently_attached:1;
+    bool_t              currently_attached;
     atomic_t            running;
     unsigned long       connected;
     u8                  signum;